<script setup lang="ts">
import { RouterView } from 'vue-router'
import 'element-plus/es/components/message-box/style/css'
import 'element-plus/es/components/message/style/css'
</script>

<template>
  <RouterView />
</template>

<style lang="less">
@tailwind base;
@tailwind components;
@tailwind utilities;
#app {
  height: 100%;
  width: 100%;
}
.border-base::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(218, 221, 224, 1);
  transform-origin: 0 0;
  pointer-events: none;
}
.dark .border-base::after {
  border-color: #60656c;
}

.border-base-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 1);
  transform-origin: 0 0;
  pointer-events: none;
}
.dark .border-base-card::after {
  border-color: rgba(72, 76, 81, 1);
}

.el-overlay {
  position: absolute !important;
}

.el-popper.is-customized {
  padding: 3px 8px;
  background: #636fff;
  color: #fff;
}

.el-popper.is-customized .el-popper__arrow::before {
  background: #636fff;
  right: 0;
}
.dark {
  .el-popper.is-customized {
    padding: 3px 8px;
    background: #7e8dff;
    color: #fff;
  }

  .el-popper.is-customized .el-popper__arrow::before {
    background: #7e8dff;
    right: 0;
  }
}
</style>
